public class _Ticket : _Section
{
	public _Ticket()
	{
    	// Default Constructor
	}
	
	public _Ticket(string eventName, string venueName, string sectionName, string row, string seat)
	{
    	// Custom Constructor used to populate data from the database.
        WebServiceApplication.WebService webService = new WebServiceApplication.WebService();
        _Ticket data = webService.getTicket(eventName, venueName, sectionName, row, seat);
        if (data != null)
        {
            this.eventName = data.eventName;
            this.venueName = data.venueName;
            this.sectionName = data.sectionName;
            this.row = data.row;
            this.seat = data.seat;
            this.price = data.price;
            this.ticketAvailable = data.ticketAvailable;
            this.className = data.className;
        }
	}
	
	// Variables
    public _TicketClass className { get; set; }
    public bool ticketAvailable { get; set; }
	public string row { get; set; }
	public string seat { get; set; }
    public decimal price { get; set; }
}